import React, { useState, useImperativeHandle, useEffect } from 'react';
 
 
//子组件解析出来
const { cRef, data } = props;
 
 
   // 将方法暴露给父组件使用
    useImperativeHandle(cRef, () => ({
        form,
        onFinish,
    }));